import Vue from 'vue';
import App from './App.vue';
import router from './router/index';
import Vant from 'vant';
import './assets/style/index.js';
import 'vant/lib/index.css';

Vue.use(Vant);

Vue.config.productionTip = false

//全局组件
Vue.component('Hello',{
  data(){
     return{
      title:'华夏中国'
     } 
  },
  template:`<h2>{{title}}</h2>`
})

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
